import API from './api'

export default {

  getVideoDetail(params, callback, errorCallback) { // 加载评论详情数据
    API.post('/live/liveVideo/getVideoDetail', params, callback, errorCallback)
  },
  userAway(params, callback, errorCallback){
    API.post('/live/liveVideo/userAway', params, callback, errorCallback)
  },
  getIndexVideo(params, callback, errorCallback){
    API.post('/live/liveVideo/getIndexVideo', params, callback, errorCallback)
  },
  videoSearch(params, callback, errorCallback){
    API.post('/live/liveVideo/videoSearch', params, callback, errorCallback)
  },
  getOtherVideoOfDetailPage(params, callback, errorCallback){// 加载详情页的其它相关视频
    API.post('/live/liveVideo/getOtherVideoOfDetailPage', params, callback, errorCallback)
  },
}
